<?php echo form_open('administrator/user/index') ?>
<div class="" id="myModal" >
  <div class="modal-header">
    <h3 style="text-transform: capitalize;"><?php echo $action ?> User</h3>
  </div>
    <?php if(!empty($profile)):?>
    <label for="name">Name:<?php echo $profile->name?></label>
    <label for="birthdate">Birthday:<?php echo $profile->birthdate?></label>
    <label for="gender">Gender:<?php echo $profile->gender=0?'Male':'Female';?></label>
    <label for="address">Address:<?php echo $profile->address?></label>
    <label for="country">Country:<?php echo $profile->country?></label>
    <label for="favorite">Favorite:<?php echo $profile->favorite?></label>
    <label for="job">Job:<?php echo $profile->job?></label>
    <label for="company">Company:<?php echo $profile->company?></label>
    <label for="website">Website:<?php echo $profile->website?></label>
    <label for="more">More:<?php echo $profile->more?></label>
    <?php else:?>
        Don't have profile!!!
    <?php endif?>
     <div class="modal-footer">
    <a href="<?php echo base_url().'/administrator/user/index/'?>" class="btn">Back</a>
    <input type="hidden" name="action"  value="<?php echo $action ?>" id="action" />
  </div> 
  </div>
</form>